type Emptyr = " " | "\n" | "\t";
type TrimRight<S extends string> = S extends `${infer F}${Emptyr}`
  ? TrimRight<F>
  : S;
